package com.lhj.springboot3.robot.controller;

import com.lhj.springboot3.robot.service.RobotService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description
 * @Author lhj
 * @Date 2024/7/6 17:10
 */
@RestController
public class RobotController {
    
    @Autowired
    RobotService robotService;
    
    @GetMapping("/robot/hello")
    public String helloRobot() { 
        return robotService.helloRobot();
    }
    
}
